package com.weiz.designpatterns.flyweight;

public class CharacterB extends ICharacter {
    //具体字符 A
    public CharacterB() {
        symbol = 'B';
        size = 11;
        font = "仿宋";
    }

    @Override
    public void display() {
        System.out.println("symbol:" + symbol + " size:" + size + " font:" + font);
    }
}
